package com.itcs.app.pay.swiftpass.properties;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * 威富通配置
 * @author LiuPeng
 * @date 2018年3月18日
 *  
 */
@Component
@PropertySource("classpath:swiftpass.properties")
public class SwiftpassProperties {
	
	/**
	 * @Fields 主机地址
	 */
	@Value("${HOST_IP}")
	private String hostIp;
	/**
	 * @Fields 微信appid
	 */
	@Value("${WX_APP_ID}")
	private String wxAppId;
	/**
	 * @Fields 微信应用密钥
	 */
	@Value("${WX_APP_SERECT}")
	private String wxAppSerect;
	/**
	 * @Fields 微信授权地址
	 */
	@Value("${WX_AUTH_URI}")
	private String wxAuthUri;
	/**
	 * @Fields 获取微信token地址
	 */
	@Value("${WX_TOKEN_URL}")
	private String wxTokenUrl;
	/**
	 * @Fields 字符编码
	 */
	@Value("${CHARSET}")
	private String charset;
	/**
	 * @Fields 版本号
	 */
	@Value("${VERSION}")
	private String version;
	/**
	 * @Fields 回调通知地址
	 */
	@Value("${NOTIFY_URL}")
	private String notifyUrl;
	/**
	 * @Fields 授权回调地址
	 */
	@Value("${AUTH_REDIRECT_URI}")
	private String authRedirectUrl;
	/**
	 * @Fields 威富通网关
	 */
	@Value("${SWIFTPASS_GATEWAY}")
	private String swiftpassGateway;
	/**
	 * @Fields 威富通微信加签KEY
	 */
	@Value("${WX_RES_KEY}")
	private String wxResKey;
	/**
	 * @Fields 威富通支付宝加签KEY
	 */
	@Value("${ALI_RES_KEY}")
	private String aliResKey;
	/**
	 * @Fields 威富通被扫加签KEY
	 */
	@Value("${BEISAO_RES_KEY}")
	private String beisaoResKey;
	/**
	 * @Fields 威富通被扫商户ID
	 */
	@Value("${BEISAO_MCH_ID}")
	private String beisaoMchId;
	/**
	 * @Fields 威富通微信商户ID
	 */
	@Value("${WX_MCH_ID}")
	private String wxMchId;
	/**
	 * @Fields 威富通支付宝商户ID
	 */
	@Value("${ALI_MCH_ID}")
	private String aliMchId;
	/**
	 * @Fields 支付宝appid
	 */
	@Value("${ALI_APP_ID}")
	private String aliAppId;
	/**
	 * @Fields 支付宝网关
	 */
	@Value("${ALI_GATEWAY}")
	private String aliGateway;
	/**
	 * @Fields 支付宝授权URL
	 */
	@Value("${ALI_AUTH_URI}")
	private String aliAuthUri;
	/**
	 * @Fields 支付宝应用私钥
	 */
	@Value("${ALI_APP_PRIVATE_KEY}")
	private String aliAppPrivateKey;
	/**
	 * @Fields 支付宝应用公钥
	 */
	@Value("${ALI_APP_PUBLIC_KEY}")
	private String aliAppPulicKey;
	/**
	 * @Fields 支付宝公钥
	 */
	@Value("${ALI_PUBLIC_KEY}")
	private String aliPublicKey;
	/**
	 * @Fields 订单产生IP
	 */
	@Value("${ORDER_IP}")
	private String orderIp;
	
	public String getHostIp() {
		return hostIp;
	}
	public void setHostIp(String hostIp) {
		this.hostIp = hostIp;
	}
	public String getWxAppId() {
		return wxAppId;
	}
	public void setWxAppId(String wxAppId) {
		this.wxAppId = wxAppId;
	}
	public String getWxAppSerect() {
		return wxAppSerect;
	}
	public void setWxAppSerect(String wxAppSerect) {
		this.wxAppSerect = wxAppSerect;
	}
	public String getWxAuthUri() {
		return wxAuthUri;
	}
	public void setWxAuthUri(String wxAuthUri) {
		this.wxAuthUri = wxAuthUri;
	}
	public String getWxTokenUrl() {
		return wxTokenUrl;
	}
	public void setWxTokenUrl(String wxTokenUrl) {
		this.wxTokenUrl = wxTokenUrl;
	}
	public String getCharset() {
		return charset;
	}
	public void setCharset(String charset) {
		this.charset = charset;
	}
	public String getVersion() {
		return version;
	}
	public void setVersion(String version) {
		this.version = version;
	}
	public String getNotifyUrl() {
		return notifyUrl;
	}
	public void setNotifyUrl(String notifyUrl) {
		this.notifyUrl = notifyUrl;
	}
	public String getAuthRedirectUrl() {
		return authRedirectUrl;
	}
	public void setAuthRedirectUrl(String authRedirectUrl) {
		this.authRedirectUrl = authRedirectUrl;
	}
	public String getSwiftpassGateway() {
		return swiftpassGateway;
	}
	public void setSwiftpassGateway(String swiftpassGateway) {
		this.swiftpassGateway = swiftpassGateway;
	}
	public String getWxResKey() {
		return wxResKey;
	}
	public void setWxResKey(String wxResKey) {
		this.wxResKey = wxResKey;
	}
	public String getAliResKey() {
		return aliResKey;
	}
	public void setAliResKey(String aliResKey) {
		this.aliResKey = aliResKey;
	}
	public String getBeisaoResKey() {
		return beisaoResKey;
	}
	public void setBeisaoResKey(String beisaoResKey) {
		this.beisaoResKey = beisaoResKey;
	}
	public String getBeisaoMchId() {
		return beisaoMchId;
	}
	public void setBeisaoMchId(String beisaoMchId) {
		this.beisaoMchId = beisaoMchId;
	}
	public String getWxMchId() {
		return wxMchId;
	}
	public void setWxMchId(String wxMchId) {
		this.wxMchId = wxMchId;
	}
	public String getAliMchId() {
		return aliMchId;
	}
	public void setAliMchId(String aliMchId) {
		this.aliMchId = aliMchId;
	}
	public String getAliAppId() {
		return aliAppId;
	}
	public void setAliAppId(String aliAppId) {
		this.aliAppId = aliAppId;
	}
	public String getAliGateway() {
		return aliGateway;
	}
	public void setAliGateway(String aliGateway) {
		this.aliGateway = aliGateway;
	}
	public String getAliAuthUri() {
		return aliAuthUri;
	}
	public void setAliAuthUri(String aliAuthUri) {
		this.aliAuthUri = aliAuthUri;
	}
	public String getAliAppPrivateKey() {
		return aliAppPrivateKey;
	}
	public void setAliAppPrivateKey(String aliAppPrivateKey) {
		this.aliAppPrivateKey = aliAppPrivateKey;
	}
	public String getAliAppPulicKey() {
		return aliAppPulicKey;
	}
	public void setAliAppPulicKey(String aliAppPulicKey) {
		this.aliAppPulicKey = aliAppPulicKey;
	}
	public String getAliPublicKey() {
		return aliPublicKey;
	}
	public void setAliPublicKey(String aliPublicKey) {
		this.aliPublicKey = aliPublicKey;
	}
	public String getOrderIp() {
		return orderIp;
	}
	public void setOrderIp(String orderIp) {
		this.orderIp = orderIp;
	}
	
}
